package com.campus.merchant.bean.order;

import com.campus.common.bean.common.PageQueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * 订单列表查询参数
 */
@Data
@ApiModel("订单列表查询参数")
public class OrderListQueryParam extends PageQueryParam {
    @ApiModelProperty(value = "商户ID", required = true)
    @NotNull(message = "商户ID不能为空")
    private Long merchantId;

    @ApiModelProperty(value = "订单状态 2-待处理 3-进行中 4-已完成", required = false)
    private Integer status;
}